package com.eye.catcher.service.generate;

import com.eye.catcher.entity.TSysDaRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eye.catcher.system.role.param.RoleDto;
import com.eye.catcher.system.role.param.RolePage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huzhiwei
 * @since 2022-02-08
 */
public interface ITSysDaRoleService extends IService<TSysDaRole> {

    public abstract List<RoleDto> getRoleByUserId(String userId);

    public abstract void addRole(TSysDaRole role);

    public abstract void editRole(TSysDaRole role);

    public abstract void deleteRoleByIds(String roleIds);

    public abstract Object getPageRoleList(RolePage build);

    public abstract void updateStausByIds(String ids);
}
